import request from '@/utils/request'

// 查询试剂瓶记录列表
export function listReagentBottle(query) {
  return request({
    url: '/product/reagentBottle/list',
    method: 'get',
    params: query
  })
}

// 查询试剂瓶记录详细
export function getReagentBottle(bottleId) {
  return request({
    url: '/product/reagentBottle/' + bottleId,
    method: 'get'
  })
}

// 新增试剂瓶记录
export function addReagentBottle(data) {
  return request({
    url: '/product/reagentBottle',
    method: 'post',
    data: data
  })
}

// 修改试剂瓶记录
export function updateReagentBottle(data) {
  return request({
    url: '/product/reagentBottle',
    method: 'put',
    data: data
  })
}

// 删除试剂瓶记录
export function delReagentBottle(bottleId) {
  return request({
    url: '/product/reagentBottle/' + bottleId,
    method: 'delete'
  })
}

// 导出试剂瓶记录
export function exportReagentBottle(query) {
  return request({
    url: '/product/reagentBottle/export',
    method: 'get',
    params: query
  })
}